home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1993 / The Association of Shareware Professionals Advantage CD-ROM 1993.iso / files / utilties / xmenu / xmenu.doc < prev    next >
Text File  |  1993-02-09  |  20KB  |  577 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.                                         XMENU
  24.  
  25.                                         DISK MANAGER
  26.  
  27.                                         USERS GUIDE
  28.  
  29.                                         for
  30.  
  31.                                         MS-DOS
  32.  
  33.  
  34.  
  35.  
  36.                                         by
  37.  
  38.                                         GARY W. WOOD
  39.  
  40.             *** READ CAREFULLY BEFORE USING XMENU ***
  41.                     PROGRAM LICENSE AGREEMENT
  42.  
  43. XMENU is NOT "Public Domain" and it is NOT "Freeware".  XMENU is
  44. a copyrighted software product developed and owned by Gary W. Wood.
  45. XMENU is distributed under the shareware concept.  You are free to
  46. copy and use the software for personal use and shareware
  47. distribution in its original, unmodified form provided no fee
  48. beyond reasonable media and/or shipping charges is levied.
  49.  
  50. If you are using the software for personal use, your required to
  51. license the software after a 21 day evaluation period for $25 and
  52. become a XMENU supporter.  XMENU supporters will receive the next
  53. major release free of charge and be keep informed of major
  54. developments for one (1) year.  A license is required for use of
  55. XMENU by corporations and institutions, and for its commercial
  56. distribution.  You may obtain a license for the use of XMENU by
  57. writing to me.  The license is for perpetual, non-exclusive use of
  58. any version.  Purchase orders and invoicing are acceptable.  If you
  59. have special requirements, such as licensing for an unlimited
  60. number of copies, local area networks, site licenses, or
  61. customization, please feel free to submit them in writing.  You may
  62. request a license for:
  63.  
  64.      o    an unlimited number of end user copies at a single site;
  65.      o    customization of messages and documentation,  an
  66.           additional fee may be required depending on the extent of
  67.           changes;
  68.      o    permission to distribute within your organization;
  69.      o    permission to include with your company's commercial
  70.           products;
  71.  
  72. The fee for a license depends on the estimated number of copies of
  73. the program that you will use.  If you wish to distribute XMENU
  74. with your own programs or hardware, write for a "Marketing
  75. License".  To use the discount schedule below, estimate the total
  76. number of copies that you may eventually use.
  77.  
  78.      2 to  9 computers ..... at $20 each
  79.     10 to 24 computers ..... at $16 each
  80.     25 to 49 computers ..... at $13 each
  81.     50 to 99 computers ..... at $10 each
  82.     100 or more computers .. $1000 one time fee
  83.  
  84. Regardless of the quantity, only one set of materials will be sent
  85. to you.  You may then make as many copies of it that are licensed.
  86. Maintenance is free.  Upgrades will be made available upon request.
  87. Technical support is available via mail, or through the Compuserve
  88. bulletin board systems (76156,317), at no charge.
  89.  
  90.               Copyright (C) 1985-1992 Gary W. Wood
  91.  
  92.  
  93.  
  94.  
  95. If you use XMENU after the 21 day evaluation period a license fee
  96. of $25 will register you to receive a current version of XMENU.
  97. Please state the current version of XMENU that you have.  Send
  98. contributions to:
  99.  
  100.           Gary Wood
  101.           5401 Lakeview Road
  102.           North Little Rock, Arkansas  72116
  103.  
  104. All rights reserved.  Printed in the United States of America.  No
  105. part of this publication may be reproduced, stored in a retrieval
  106. system, or transmitted in any form or by any means, electronic,
  107. mechanical, photocopying, recording, or otherwise without the prior
  108. written permission from Gary W. Wood, 5401 Lakeview Road, North
  109. Little Rock, Arkansas, 72116.
  110.  
  111.  
  112.  
  113.  
  114.                            DISCLAIMER
  115.  
  116. The author has taken due care in the preparation of this document
  117. and the associated program.  Insofar as specific mention of program
  118. features, the author believes the information to be true.  No
  119. warranty is made regarding the suitability of the program to be
  120. compatible with your computer.  Incidental and consequential
  121. damages caused by malfunction, defect, or otherwise are not the
  122. responsibility of Gary W. Wood, and to the extent permitted by law,
  123. and hereby excluded both for the property and, to the extent not
  124. unconscionable, for personal injury damage. (Some states or
  125. jurisdictions do not allow the exclusion or limitation of
  126. incidental or consequential damages, so the above limitation or
  127. exclusion may not apply to you.)  Gary W. Wood also reserves the
  128. right to make amendments to the contents of this document from time
  129. to time, to reflect changes made to the specification of the XMENU
  130. system or for any other reason.
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139. XMENU is a Trademark of Gary W. Wood.  IBM, IBM-PC, PC-XT, PC-AT,
  140. PS/2, DOS, OS/2, VM/CMS, FLIST, and PC-DOS are Trademarks of
  141. International Business Machines Corp. MS-DOS is a Trademark of
  142. Microsoft Corporation. CHAPTERS
  143.  
  144.  
  145.  
  146. 1.  Introduction                                            5
  147.  
  148. 2.  Getting Started                                         8
  149.  
  150. 3.  Invoking the XMENU Command                              10
  151.  
  152. 4.  Using the Keyboard                                      11
  153.  
  154. 5.  XMENU Memory Requirements                               12
  155.  
  156. 6.  XMENU DOS Commands                                      13
  157.  
  158. 7.  XMENU Help Text                                         15
  159.  
  160. 8.  Invoking the XCRYPT command                             16
  161.  
  162. 9.  Invoking the XSETUP command                             17
  163.  
  164. INTRODUCTION
  165.  
  166.  
  167.  
  168. WELCOME TO THE WORLD OF USING A MENU SYSTEM USING
  169. XMENU - MENU MANAGER
  170.  
  171. This program is for the person or organization that prefers not to
  172. use the PC-DOS environment to invoke applications under DOS.  XMENU
  173. will provide a standardized interface that can be easily used by
  174. the novice computer user.  It can be used by an organization to log
  175. usage of the computer by creating a log file of every command the
  176. user uses while under the control of XMENU.
  177. WHAT IS XMENU
  178.  
  179.  
  180. XMENU is an organizational menu program that takes full advantage
  181. of fixed disk drive(s) on a Personal Computer.  XMENU can increase
  182. productivity by allowing you to create a common command structure
  183. using menus.  These commands consist of complex sets of IBM Disk
  184. Operating System (DOS) instructions.  Once these instructions are
  185. defined by you, they are saved by XMENU into a ".MNU" file.
  186.  
  187. XMENU presents you with simple menu(s) to quickly find and select
  188. the menu options you have defined.  This enables you to access
  189. virtually any application program on you fixed disk through one
  190. simple menu.  XMENU returns to the menu after completion of the
  191. option you select.
  192. FEATURES
  193.  
  194.  
  195. Allows creation of simple menus to process DOS commands.
  196.  
  197. Ten (10) options per page
  198.  
  199. Ninety-nine (99) pages of options per menu
  200.  
  201. Sixteen (16) menu levels deep
  202.  
  203. Fifty (50) DOS commands per option
  204.  
  205. DOS commands up to 128 characters long
  206.  
  207. Argument lengths up to sixty-eight (68)
  208.  
  209. Allows access to applications with a common user access.
  210.  
  211. Online help text can be associated with each menu option.
  212.  
  213. Menu files are encrypted for greater security control.
  214.  
  215. Passwords can be assigned to menus and options for access and
  216. maintenance.
  217.  
  218. A log file can be created showing usage of the Personal Computer
  219. (PC) while using XMENU.
  220.  
  221. Supports both monochrome and color monitors.
  222.  
  223. Gives you control of the screen colors.
  224.  
  225. Isn't memory resident or requires to be loaded first in memory.
  226.  
  227. Will reduce memory requirements to 7K when executing DOS commands
  228. when the environment parameter SET TMP= points to a temporary work
  229. sub-directory.
  230.  
  231. Supports text modes from 80x25 up to 132x60.
  232. GETTING STARTED
  233.  
  234.  
  235.  
  236. WHAT KIND OF HARDWARE DO I NEED
  237.  
  238.  
  239. To use XMENU you need the following:
  240.  
  241.      An IBM PC with hard disk or a very closely compatible
  242.      microcomputer.
  243.  
  244.      A color/graphics adapter or monochrome adapter
  245.  
  246.      256K of RAM memory for best results.  The program requires at
  247.      least 80K of memory.
  248.  
  249.      One diskette drive
  250.  
  251.      DOS 2.1 or greater
  252. WHAT DO I DO NOW
  253.  
  254.  
  255. Installing XMENU to operate on your system is a simple process.
  256. You should start by copying the distribution diskette and putting
  257. the original away in a safe place.
  258.  
  259. Now, copy the files on the diskette to a directory on your hard
  260. disk.  The files that make up the menu manager are:
  261.  
  262.      XMENU.EXE      - Menu manager main program
  263.      XCRYPT.EXE     - Encrypt / De-encrypt menu program
  264.      XMENU.DOC      - Documentation
  265.      XMENU.INI      - Configuration file (created by first execution)
  266.      MAINMENU.MNU   - Sample initial menu
  267.      DOS.HLP        - Sample help file
  268.      XSETUP.EXE     - Create APPLICAT.MNU initial applications
  269.      XSETUP.INF     - Text control file for XSETUP.EXE
  270.  
  271. You are now ready!
  272.  
  273. INVOKING THE XMENU COMMAND
  274.  
  275.  
  276.  
  277. WHAT ARE THE INVOKING PARAMETERS
  278.  
  279.  
  280. First, no parameters are mandatory, but under some conditions you
  281. may want to specify parameters to tailor how the program performs.
  282.  
  283. To invoke the program enter:
  284.  
  285.      XMENU [[d:][path][menuname][.ext]] [/M][[logname][.ext]
  286.  
  287. The optional parameters have the following definitions:
  288.  
  289. [[d:][path][menuname][.ext]]  is the optional initial menu
  290.                               displayed when XMENU first starts
  291.                               up.  This defaults to the name of
  292.                               MAINMENU.MNU.
  293.  
  294. [[/M][logname][.ext]]    is used to start logging activity to
  295.                          a log file.  If the "/M" parameter
  296.                          is used by itself, the default name
  297.                          of the log file is XMENU.LOG.  This
  298.                          log file contains the date, time,
  299.                          and activity performed from within
  300.                          XMENU.  XMENU will append to the end
  301.                          of this file when a file that
  302.                          already exists is used.
  303.  
  304. /L                       is used to display license information.
  305.  
  306. /B[nnnn]                 is the parameter used to envoke a
  307.                          automatic screen blanker.  nn is the
  308.                          number of seconds before the screen is
  309.                          blanked.  A blinking diamond is
  310.                          positioned in the lower right corner of
  311.                          the screen to denote a blanked screen.
  312.  
  313. On the first execution of XMENU, it will create the configuration
  314. file called XMENU.INI.  This file contains the default colors and
  315. two lines of headings.  XMENU  will prompt you for the text of the
  316. first two lines of headings.  This can be used to enter the name of
  317. your company, etc..  If you mess up the headings, just erase the
  318. XMENU.INI file and try again.
  319.  
  320. XMENU will search the directories searched by the PATH= parameter
  321. to locate menus.  You may set the environment parameter XMENU= in
  322. order to locate menus more directly. USING THE KEYBOARD
  323.  
  324.  
  325.  
  326. WHAT KEYS ON THE KEYBOARD DOES XMENU USE
  327.  
  328.  
  329. XMENU has a natural feel to the keyboard.  In most cases you can
  330. use the menus without knowing any special keys.  But, there are a
  331. few keystrokes that you must know to access maintenance and the
  332. help text.
  333.  
  334. Keystroke             Definition
  335.  
  336. Alt-m     Maintenance menus
  337.  
  338. ?         Access help text per menu option
  339.  
  340. Esc       Exit menu
  341.  
  342. Enter     Pass control to XMENU menu option
  343.  
  344. F1        Help (same as ?)
  345.  
  346. F2        Maintenance menus (same as Alt-m)
  347.  
  348. F3        Goto DOS
  349.  
  350. Ins       Add new option
  351.  
  352. Del       Delete existing option
  353.  
  354. XMENU MEMORY REQUIREMENTS
  355.  
  356.  
  357.  
  358. USING THE "TMP" ENVIRONMENT PARAMETER
  359.  
  360.  
  361. XMENU reduces the resident portion of XMENU to 7K while another
  362. command is executed by temporarily storing the XMENU program in EMS
  363. or Extended memory or disk. The TMP= environment parameter is used
  364. within XMENU when storing memory to disk if extended or expanded
  365. memory is unavailable.  After the evoked command is finished,
  366. XMENU is read back in memory and execution resumes.  This will
  367. effectively reduce the memory requirements of XMENU down to only
  368. 7K!  If expanded or extended memory is unavailable, XMENU will free
  369. memory to a temporary work file.  This file can be up to 70K, and
  370. takes a long time to page out when the file isn't on a RAM drive.
  371. I would suggest setting up a RAM drive in extended memory if you
  372. don't have EMS memory using the RAMDRIVE.SYS device driver provided
  373. by MS-DOS.  The feature can be temporarily disabled by using the
  374. "/s" option after the command.
  375.  
  376. Example:  Change CONFIG.SYS to include the following:
  377.  
  378.           DEVICE=C:\DOS\RAMDRIVE.SYS /e 128 512 64
  379.  
  380.           Change AUTOEXEC.BAT to include the following:
  381.  
  382.           SET TMP=D:\
  383.  
  384. The above changes would set up a 128K RAM drive using the next
  385. available drive, ie. D:.  XMENU would save the memory file to the
  386. location specified by the "TMP" environment variable.
  387.  
  388. When the TMP= environment paameter isn't provided XMENU will NOT
  389. page out the program.  The "/s" will turn off this feature when
  390. provided before the command to be executed.  It will be stripped
  391. off the command line.
  392.  
  393. Example:  /S CHDIR \WP51
  394.           WP
  395.  
  396. In the above example, you wouldn't need XMENU to page out to do the
  397. CHDIR command.  This would make the CHDIR command execute faster.
  398.  
  399. XMENU DOS COMMANDS
  400.  
  401.  
  402.  
  403.  
  404. XMENU allows you to specify a virtually unlimited number of DOS
  405. commands to execute for a menu option.  Each command is
  406. interpreted, prompts are performed if necessary, then the command
  407. executed.  In order to make the commands more flexible, XMENU
  408. allows you to enter part of the command using prompts to the user.
  409. XMENU supports the use of variables in the DOS commands.  By using
  410. these variables, you can change information in the DOS commands
  411. used by XMENU.  This permits greater flexibility when designing
  412. your menu options, and reduce the need to maintain the menus.
  413.  
  414. FORMAT: [symbol "message" default]
  415.  
  416. The "symbol" specifies and symbol to be associated with the field
  417. entered.  This field may be anything up to a length of 68
  418. characters.  The "message" is the prompt given to the user to enter
  419. the field associated with the "symbol".  And the "default" is the
  420. prototype of the command to be entered.  This can be used to
  421. specify a size of the field by using the "#" sign to be used as a
  422. space or any string to be put in the prompt.
  423.  
  424. If the first DOS command is the @ECHO or ECHO command used with the
  425. option ON or OFF, XMENU will determine that you are going to use
  426. DOS batch commands.  Under this condition XMENU will copy the
  427. commands to a disk file with an extension of .BAT and allow PC-DOS
  428. to execute the batch file.  After the batch commands are executed
  429. XMENU will delete the batch file from the disk.
  430. XMENU VARIABLE EXAMPLES
  431.  
  432.  
  433. Example #1:    Invoke Lotus 1-2-3 with no prompts.
  434.  
  435.                123
  436.  
  437.           This example of specifying only the filename of "123"
  438.           without specifying the extension will cause XMENU to
  439.           search the "PATH=" environment paths until is finds
  440.           either "123.BAT", "123.COM", or "123.EXE".  If it locates
  441.           one of these files, it will pass control directly to the
  442.           program.  If it doesn't locate the file, XMENU will pass
  443.           the command to the DOS command processor to see if it can
  444.           recognize the command.
  445.  
  446.  
  447. Example #2:    Invoke Lotus 1-2-3 with no prompts from a particular
  448. drive
  449.                and path.
  450.  
  451.                C:\LOTUS\123.COM
  452.  
  453.           This will cause XMENU to execute the program from only
  454.           the specified drive "C:" in the sub-directory "LOTUS".
  455.  
  456.  
  457. Example #3:    Invoke Lotus 1-2-3 with user specified driver set.
  458.  
  459.                123 [DRIVE "Enter driver set?"]
  460.  
  461.           This will prompt the user for driver set into a 68
  462.           character input field.
  463.  
  464.  
  465. Example #4:    Invoke Lotus 1-2-3 with user specified driver set.
  466.  
  467.                123 [DRIVE "Enter driver set?" 123.DRV######]]
  468.  
  469.           This will prompt the user for driver set into a 13
  470.           character input field with "123.DRV" as the default
  471.           value.
  472. Example #5     Execute either Lotus or 1-2-3 depending on whether
  473. Lotus is found.
  474.  
  475.                @ECHO OFF
  476.                IF EXIST LOTUS.COM GOTO XLOTUS
  477.                123
  478.                GOTO EXIT
  479.                :XLOTUS
  480.                LOTUS
  481.                :EXIT
  482.  
  483.           This example above causes XMENU to write the above
  484.           commands to a temporary disk file and allow PC-DOS to
  485.           execute the batch file commands.  This is caused by
  486.           having the commands following the @ECHO OFF command.
  487.     XMENU HELP TEXT
  488.  
  489.  
  490.  
  491. CREATING HELP TEXT
  492.  
  493.  
  494. You can create help text for XMENU with most ASCII text editors.
  495. Using the editor, create a text file with the help information
  496. associated with one menu option.  Give this file the extension of
  497. ".HLP" and put this in a sub-directory that can be located through
  498. the "PATH=" environment path.  Then maintenance the menu option and
  499. specify the name of the help file.  After the menu file is saved,
  500. the help can be accessed by pressing the "?" key when positioned to
  501. the option in a menu.
  502.  
  503. XMENU will present the help text using the DOS command "TYPE".  In
  504. some cases, you may want to specify another program to present the
  505. help text to the user.  This program can be specified by using the
  506. "LIST=" environment parameter.  To change XMENU to use the
  507. "LIST.COM" program to present help, the user of XMENU would enter:
  508.  
  509.      SET LIST=LIST
  510.  
  511. before using XMENU.
  512.  
  513. INVOKING THE XCRYPT COMMAND
  514.  
  515.  
  516.  
  517. WHAT IS THE XCRYPT PROGRAM
  518.  
  519.  
  520. The XCRYPT.EXE program is a supplemental program that can be used
  521. to encrypt or de-encrypt the .MNU files that you create.  This is
  522. for creating your own .MNU file with a file editor.  Also, if for
  523. some reason a .MNU file is corrupted, you can recreate the file.
  524.  
  525. This is basically an input to output type of program.  It needs
  526. three pieces of information, input file, output file, and a flag
  527. specifying to encrypt or de-encrypt.
  528.  
  529. To invoke the program enter:
  530.  
  531.      XCRYPT [[/E][/D]] [source][.ext] [target][.ext]
  532.  
  533. The parameters have the following definitions:
  534.  
  535. [/E]           is the flag specifying to encrypt the source file
  536.                into the target file.
  537.  
  538. [/D]           is the file specifying to de-encrypt the source
  539.                file into the target file.
  540.  
  541. [source][.ext] is the name of the input file.  When the "/D"
  542.                option is specified, this is usually a ".MNU" file.
  543.  
  544. [target][.ext]      is the name of the output file.  When the "/E"
  545.                     option is specified, this is usually a ".MNU"
  546.                     file.  The "-" can be used to redirect the
  547.                     output to the console.
  548.  
  549. INVOKING THE XSETUP COMMAND
  550.  
  551.  
  552.  
  553. WHAT IS THE XSETUP PROGRAM
  554.  
  555.  
  556.  
  557. The XSETUP.EXE program is a supplemental program that can be used
  558. to initially create a sub-menu of the main menu.  This menu, (i.e.
  559. APPLICAT.MNU) will contain all user applications found on the
  560. default drive.  XSETUP will create a menu option for every
  561. application found on the default drive in effect when XSETUP is
  562. executed.  It will use the information in XSETUP.INF to select
  563. valid applications.
  564.  
  565. The program has only one optional parameter.
  566.  
  567. To invoke the program enter:
  568.  
  569.      XSETUP  [drive letter]:
  570.  
  571. The parameters have the following definitions:
  572.  
  573. [drive letter] is the drive to search for applications.
  574.  
  575.  
  576.  
  577.